package com.atguigu.gmallre.mock.service;


import com.atguigu.gmallre.mock.bean.CouponUse;
import com.atguigu.gmallre.mock.bean.OrderDetailCoupon;
import com.atguigu.gmallre.mock.bean.OrderInfo;
import com.atguigu.gmallre.mock.service.adv.AdvService;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.commons.lang3.tuple.Pair;

import java.util.List;

/**
 * <p>
 * 优惠券领用表 服务类
 * </p>
 *
 * @author zhangchen
 * @since 2020-02-26
 */
public interface CouponUseService extends AdvService<CouponUse> {

//    public void genCoupon(Boolean ifClear);
//
//    public  void  usedCoupon(List<OrderInfo> orderInfoList);
//
//    public Pair<List<CouponUse>,List<OrderDetailCoupon>> usingCoupon(List<OrderInfo> orderInfoList);
//
//    public  void  saveCouponUseList(List<CouponUse> couponUseList);
//
//    public   List<OrderDetailCoupon>   matchRule(OrderInfo orderInfo,List<OrderDetailCoupon> orderDetailCouponList ) ;

}
